Xbasic

CURRENT_OBJECT Function

Syntax

Object_Name as C = CURRENT_OBJECT()

Description

CURRENT_OBJECT() returns the full Object_Name (including window) of the object that currently has focus.

Example

Assume that the lastname object in the "customer" form has focus.

Current_object() -> :customer:lastname

Limitations

Desktop applications only.

See Also